package com.tms.drivermanagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机管理对象 drivermanagement
 *
 * @author ruoyi
 * @date 2024-11-01
 */
public class Drivermanagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 身份证号 */
    private String iDCardNumber;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 驾照类型 */
    @Excel(name = "驾照类型")
    private String licenseType;

    /** 驾照有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "驾照有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date licenseExpiryDate;

    /** 客户id */
    private Integer cid;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String homeAddress;

    /** 紧急联系人 */
    private String emergencyContactName;

    /** 紧急联系人电话 */
    private String emergencyContactPhone;

    /** 状态 */
    private Integer status;

    /** 证件照1 */
    private String iDPhoney;

    /** 证件照2 */
    private String iDPhonee;

    /** 驾驶证1 */
    private String drivingLicensey;

    /** 驾驶证2 */
    private String drivingLicensee;

    /** 备注信息 */
    private String remarks;

    public void setCid(Integer cid) {this.cid = cid;}

    public Integer getCid() {return cid;}

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhoneNumber(String phoneNumber)
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber()
    {
        return phoneNumber;
    }
    public void setiDCardNumber(String iDCardNumber)
    {
        this.iDCardNumber = iDCardNumber;
    }

    public String getiDCardNumber()
    {
        return iDCardNumber;
    }
    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }
    public void setLicenseType(String licenseType)
    {
        this.licenseType = licenseType;
    }

    public String getLicenseType()
    {
        return licenseType;
    }
    public void setLicenseExpiryDate(Date licenseExpiryDate)
    {
        this.licenseExpiryDate = licenseExpiryDate;
    }

    public Date getLicenseExpiryDate()
    {
        return licenseExpiryDate;
    }
    public void setHomeAddress(String homeAddress)
    {
        this.homeAddress = homeAddress;
    }

    public String getHomeAddress()
    {
        return homeAddress;
    }
    public void setEmergencyContactName(String emergencyContactName)
    {
        this.emergencyContactName = emergencyContactName;
    }

    public String getEmergencyContactName()
    {
        return emergencyContactName;
    }
    public void setEmergencyContactPhone(String emergencyContactPhone)
    {
        this.emergencyContactPhone = emergencyContactPhone;
    }

    public String getEmergencyContactPhone()
    {
        return emergencyContactPhone;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setiDPhoney(String iDPhoney)
    {
        this.iDPhoney = iDPhoney;
    }

    public String getiDPhoney()
    {
        return iDPhoney;
    }
    public void setiDPhonee(String iDPhonee)
    {
        this.iDPhonee = iDPhonee;
    }

    public String getiDPhonee()
    {
        return iDPhonee;
    }
    public void setDrivingLicensey(String drivingLicensey)
    {
        this.drivingLicensey = drivingLicensey;
    }

    public String getDrivingLicensey()
    {
        return drivingLicensey;
    }
    public void setDrivingLicensee(String drivingLicensee)
    {
        this.drivingLicensee = drivingLicensee;
    }

    public String getDrivingLicensee()
    {
        return drivingLicensee;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phoneNumber", getPhoneNumber())
            .append("iDCardNumber", getiDCardNumber())
            .append("gender", getGender())
            .append("licenseType", getLicenseType())
            .append("licenseExpiryDate", getLicenseExpiryDate())
            .append("cid", getCid())
            .append("homeAddress", getHomeAddress())
            .append("emergencyContactName", getEmergencyContactName())
            .append("emergencyContactPhone", getEmergencyContactPhone())
            .append("status", getStatus())
            .append("iDPhoney", getiDPhoney())
            .append("iDPhonee", getiDPhonee())
            .append("drivingLicensey", getDrivingLicensey())
            .append("drivingLicensee", getDrivingLicensee())
            .append("remarks", getRemarks())
            .toString();
    }
}
